import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Table from '@/components/Table'
import Tree from '@/components/Tree'
import TableIview from '@/components/TableIview'
import Tableux from '@/components/Tableux'

Vue.use(Router)

export default new Router({
  routes: [
    // {
    //   path: '/',
    //   name: 'HelloWorld',
    //   component: HelloWorld
    // },
    {
      path: '/',
      name: 'Table',
      component: Table
    },
    {
      path: '/Tree',
      name: 'Tree',
      component: Tree
    },
    {
      path: '/TableIview',
      name: 'TableIview',
      component: TableIview
    },
    {
      path: '/Tableux',
      name: 'Tableux',
      component: Tableux
    }
  ]
})
